package com.cat.myblog.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


@SpringBootApplication
@ComponentScan(basePackages = {
        "com.cat.myblog.common",
        "com.cat.myblog.article",
        "com.cat.myblog.web",

})
@MapperScan("com.cat.myblog.*.mapper")
@EnableAspectJAutoProxy
public class MyBlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(MyBlogApplication.class,args);
    }
}
